﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FollowMe.Model
{
    public interface ILocationRepository
    {
        void Add(Location location);
        void Remove(Location location);
        void RemoveAll(IEnumerable<Location> locations);
        void Save(Location location);

        Location FindBy(Guid Id);

        IEnumerable<Location> FindAll();
        IEnumerable<Location> FindAll(int index, int count);
    }
}
